package com.spring.sperapc.web.service.impl;

import com.spring.security.core.generic.GenericDao;
import com.spring.security.core.generic.GenericServiceImpl;
import com.spring.security.web.dao.PermissionMapper;
import com.spring.sperapc.web.dao.TestMapper;
import com.spring.sperapc.web.model.Test;
import com.spring.sperapc.web.service.TestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by wojunyu on 2015/7/24.
 */
@Service
public class TestServiceImpl extends GenericServiceImpl implements TestService {


    @Resource
    private TestMapper testMapper;

    @Override
    public GenericDao getDao() {
        return testMapper;
    }

    @Override
    public List<Test> queryTestList(Test test) {
        return testMapper.queryTestList(test);
    }


}
